<?php
/**
 * Created by : PhpStorm
 * Index: 阿城 <479468212@qq.com>
 * Date: 2019/12/27
 * Time: 13:02
 */

namespace app\admin\model;

use app\common\model\Base;

class AdminUser extends Base {
    protected $autoWriteTimestamp = true;

    public function userData() {
        return $this->hasOne('AdminUserData', 'uid', 'id');
    }

}
